package com.zz.cc.owner;

import com.baidu.location.LocationClient;
import com.baidu.mapapi.BMapManager;
import com.baidu.mapapi.MKGeneralListener;
import com.zz.common.app.BaseApplication;
public class OwnerApplication extends BaseApplication implements MKGeneralListener {
	
	private static final String MAK_KEY = "964206792a1c940290628a32947bd0f2";
	
	public BMapManager mBMapManager = null;
	public LocationClient mLocationClient = null;
	@Override
	public void onCreate() {
		mLocationClient = new LocationClient( this );
		mLocationClient.setAK("964206792a1c940290628a32947bd0f2");
		createMapManager();
//		sCrashPath = FileManager.getInstance().getWorkDir();
		super.onCreate();
	}
	
	private void createMapManager() {
		mBMapManager = new BMapManager(this);
        mBMapManager.init(MAK_KEY, this); 
        mBMapManager.start();
	}

	@Override
	public void onGetNetworkState(int state) {
		//TODO
	}

	@Override
	public void onGetPermissionState(int state) {
		//TODO
	}
	
	
}